package icu.makka.yygh.service;

import icu.makka.yygh.model.hosp.Schedule;
import icu.makka.yygh.vo.hosp.ScheduleOrderVo;
import icu.makka.yygh.vo.hosp.ScheduleQueryVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

public interface ScheduleService {
    void page(Map<String, Object> paramMap);

    Page<Schedule> page(Integer page, Integer limit, ScheduleQueryVo scheduleQueryVo);

    void removeSchedule(String hosScheduleId);

    Map<String, Object> getRuleSchedule(Long page, Long limit, String hoscode, String depcode);

    List<Schedule> getDetailSchedule(String hoscode, String depcode, String workData);

    Object getBookingScheduleRule(Integer page, Integer limit, String hoscode, String depcode);

    Object getById(String scheduleId);

    ScheduleOrderVo getScheduleOrderVo(String scheduleId);

    void update(Schedule schedule);

    Schedule getScheduleId(String scheduleId);
}
